module.exports = {
  // See <http://truffleframework.com/docs/advanced/configuration>
  // for more about customizing your Truffle configuration!
  contracts_build_directory: "./medical_system/contract",           // 合约编译路径为后台系统路径

  networks: {
    // 测试所用的区块链网络
    development: {
      host: "127.0.0.1",
      // host: "192.168.43.10",
      port: 8545,
      network_id: "*" // Match any network id
    },
    develop: {
      port: 8545
    }
  },
  compilers: {
    solc: {
      // version: "0.8.7"           // 0.8.*版本，坑爹玩意无法使用中文字符串，各种不兼容
      // version: "0.4.26"          // 版本太老
      version: "0.6.12"
    }
 }
};
